package easymall.clients;

import easymall.po.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("adminservice")
public interface AdminService {

    @PostMapping("/login")
    Admin login(@RequestBody Admin admin) ;
}
